lcColorRGB | Home |
int lcColorRGB ( int Red, int Green, int Blue ); |
Red | |
Red component of a color, value from 0 to 255 | |
Green | |
Green component of a color, value from 0 to 255 | |
Blue | |
Blue component of a color, value from 0 to 255 |
32-bit integer value representing WinAPI COLORREF type. |
Colors |
int Col; Col = lcColorRGB(255,255,255); lcPropPutInt( hLcDrw, LC_PROP_DRW_COLORBACKM, Col ); Col = lcColorRGB(250,0,0); lcPropPutInt( hLcDrw, LC_PROP_DRW_COLORFOREM, Col ); Col = lcColorRGB(0,50,150); lcPropPutInt( hLcDrw, LC_PROP_DRW_COLORCURSORM, Col ); lcWndRedraw( hLcWnd );